home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _5BBC2E87A340422AB7A7CD81C69674E1 < prev    next >
Encoding:
Text File  |  2001-11-29  |  1.8 KB  |  73 lines

  1. //Generated by BehavEd
  2.  
  3. rem ( "opens elevator doors and lowers the elevator" );
  4.  
  5. affect ( "door_left1", /*@AFFECT_TYPE*/ FLUSH )
  6. {
  7.     rem ( "second half of left door moving out and down" );
  8. //$"moveBy"@3
  9.     set ( "SET_MOVE_BY", "24.0 0.0 0.0 500.0" );
  10.     wait ( 500.000 );
  11. //$"moveBy"@3
  12.     set ( "SET_MOVE_BY", "0.0 0.0 -1760.0 19000.0" );
  13.     wait ( 19000.000 );
  14. //$"moveBy"@1
  15.     set ( "SET_MOVE_BY", "-24.0 0.0 0.0 1000.0" );
  16. }
  17.  
  18.  
  19. affect ( "door_left2", /*@AFFECT_TYPE*/ FLUSH )
  20. {
  21.     rem ( "left2 moving out and down" );
  22. //$"moveBy"@3
  23.     set ( "SET_MOVE_BY", "56.0 0.0 0.0 500.0" );
  24.     wait ( 500.000 );
  25. //$"moveBy"@3
  26.     set ( "SET_MOVE_BY", "0.0 0.0 -1760.0 19000.0" );
  27.     wait ( 19000.000 );
  28. //$"moveBy"@1
  29.     set ( "SET_MOVE_BY", "-56.0 0.0 0.0 1000.0" );
  30. }
  31.  
  32.  
  33. affect ( "door_right1", /*@AFFECT_TYPE*/ FLUSH )
  34. {
  35.     rem ( "second half of right door moving out and down" );
  36. //$"moveBy"@3
  37.     set ( "SET_MOVE_BY", "-24.0 0.0 0.0 500.0" );
  38.     wait ( 500.000 );
  39. //$"moveBy"@3
  40.     set ( "SET_MOVE_BY", "0.0 0.0 -1760.0 19000.0" );
  41.     wait ( 19000.000 );
  42. //$"moveBy"@1
  43.     set ( "SET_MOVE_BY", "24.0 0.0 0.0 1000.0" );
  44. }
  45.  
  46.  
  47. affect ( "door_right2", /*@AFFECT_TYPE*/ FLUSH )
  48. {
  49.     rem ( "right2 moving out and down" );
  50. //$"moveBy"@3
  51.     set ( "SET_MOVE_BY", "-56.0 0.0 0.0 500.0" );
  52.     wait ( 500.000 );
  53. //$"moveBy"@3
  54.     set ( "SET_MOVE_BY", "0.0 0.0 -1760.0 19000.0" );
  55.     wait ( 19000.000 );
  56. //$"moveBy"@1
  57.     set ( "SET_MOVE_BY", "56.0 0.0 0.0 1000.0" );
  58. }
  59.  
  60.  
  61. affect ( "elevator", /*@AFFECT_TYPE*/ FLUSH )
  62. {
  63.     rem ( "elevator, below is a func wall to block the player from leaving" );
  64.     use ( "dont_leave_elev" );
  65.     sound ( /*@CHANNELS*/ CHAN_AUTO, "sound/misc/events/elevator_run.mp3" );
  66. //$"moveBy"@4
  67.     wait ( 500.000 );
  68.     set ( "SET_MOVE_BY", "0.0 0.0 -1760.0 19000.0" );
  69.     wait ( 19000.000 );
  70.     use ( "dont_leave_elev" );
  71. }
  72.  
  73.